
<script>
	function onBridgeReady(){
		WeixinJSBridge.call('hideOptionMenu');
	}
	function showBridgeReady(){
		WeixinJSBridge.call('showOptionMenu');
	}
	$(function(){
		if (typeof(wx) == "undefined"){
			document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
		}else{
			document.addEventListener('WeixinJSBridgeReady', showBridgeReady, false);
		}
	})
</script> 